package com.tuanbiao.startup;

import android.content.Context;

/**
 * @author abiao
 * @date 2022/6/15 9:40
 * @description:
 */
public class StartupInit {
    private Context context;

    private static volatile StartupInit INSTANCE;

    public static StartupInit getInstance() {
        if (null == INSTANCE) {
            synchronized (StartupInit.class) {
                if (null == INSTANCE) {
                    INSTANCE = new StartupInit();
                }
            }

        }
        return INSTANCE;
    }

    private StartupInit() {

    }

    public StartupInit init(Context context) {
        this.context = context;
        return this;
    }
}
